module.exports = app => {
  const { controller, middleware, router } = app;


  router.post('文件云新增', '/file/cloud/insert', middleware.jwt(), controller.cloud.insert);
  router.get('文件云列表', '/file/cloud/list', middleware.jwt(), controller.cloud.list);
  router.get('文件云详情', '/file/cloud/info', middleware.jwt(), controller.cloud.info);
  router.post('文件云更新', '/file/cloud/update', middleware.jwt(), controller.cloud.update);
  router.post('文件云删除', '/file/cloud/delete', middleware.jwt(), controller.cloud.delete);
  router.get('设置默认文件云', '/file/cloud/setDefault', middleware.jwt(), controller.cloud.setDefault);
  router.get('获取默认文件云', '/file/cloud/getDefault', middleware.jwt(), controller.cloud.getDefault);
};
